package com.wxs.service;

import com.wxs.dao.UserDao;
import com.wxs.dao.UserDaoImp;

public class UserServiceImp implements UserService{

    private UserDao userDao;

    /*使用set 的方式去改变的调用的实现方式*/
    public void setUserDao(UserDao userDao){
        this.userDao = userDao;
    }

    public void getUser() {
        userDao.getUser();
    }
}
